Removed unused permissions.