#218: changed MetadataExtension in order to get the subject attribute of derived and base classes