Removed unused GetAllPermissionNames method.