Remove static keywords from registerExtension and deregisterExtension