Fixed PermissionsListWriter.
Fixed protection module permission registration.