Documentation updates and update to hook_permission().