Remove obsolete hooks