isMetaTypeOf and getMetaType uses instance comparison in generated plugin.