clarified low-level permissions api
improved set loading / default_type_id bug