public static void RegisterKeyIdTypes()
 {
     OwnerId.RegisterResolver();
     KeyId.RegisterResolver();
 }