Improved permissions and PermissionListWriter.