#236 Looked into private ontologies causing problems, and added possibly useful code when doing so. Committing it.