remove unnecessary hooks from generic