Cleanup default methods
Fix handling of not-inheritable permissions. Fixes #1386
Fix handling of default groups for null world