Removed unnecessary permissions.