Remove all references to 'name' on discriminatorFields