Remove the getOrRegister method from base loader.