private static void removeTemporaryAnonymousClass(OWLClass anonymousClass) {	
	OWLEntityRemover remover = new OWLEntityRemover(manager, Collections.singleton(ontology));
	anonymousClass.accept(remover);
	manager.applyChanges(remover.getChanges());
	remover.reset();
	reasoner.precomputeInferences(InferenceType.CLASS_HIERARCHY);
    }