Remove unused hooks and filters