Removing the unused methods in the permission controller.