The answer was to stop doing it backwards and make a custom generator so that the source data excludes the child class.