Remove unneeded plugin hooks