# Pastebin Odx4BqTl fernando@MBP-de-Fernando Red3 % cat lib/MetamodelX/Red/Schema.pm6 class MetamodelX::Red::Schema is Metamodel::EnumHOW { method compose(Mu \schema) { self.Metamodel::EnumHOW::compose(schema); } } fernando@MBP-de-Fernando Red3 % cat lib/Red/Schema.pm6 use MetamodelX::Red::Schema; my package EXPORTHOW { package DECLARE { constant schema = MetamodelX::Red::Schema; } } fernando@MBP-de-Fernando Red3 % perl6 -Ilib -MRed::Schema -e ' schema Bla ' ===SORRY!=== Error while compiling -e Unable to parse schema definition at -e:4 ------> schema Bla⏏ expecting any of: generic role