removes activation/deactivation hooks