Remove extra permissions.