Add methods by default
Add method to serialize classes/ontology pairs as class object