made a little api to manage PermissionWrappers better