Improve documentation and add more granular access control