Removes deprecation warnings from owlapi