Added permission related stuff

- Incorrectly wrapped
- Missing `@return`