I knew I'd seen something re the Umbraco/licenses folder, thanks for the reminder! It's all part of the targets file, which I think I'm going to need to change as it currently removes email templates views, which can be user-modified, so should be left alone in that case...