Can't have registry serialisable in taskgeneration of fileparse