overwrite discriminator settings in metadata if not present in parent cl...

...ass