Changed 5.0/4.7 specific oxregistry usage to internal getter for compatibility with 4.6 version, fix #5