Added Instance Cache to Ontologies to improve performance