Remove dumpOntologyToRepository from public API and fix bug with
removeCache