Deprecated ServerProvider#getHooks