Removed hooks and functions from admin.