Hook cleanup