docs: def parse(self, obj):
          """
          Parse the object's properties according to its default types.
          """
          for k, default in obj.__class__.defaults.items():
              typ = type(default)
              if typ is str:
                  continue
              v = getattr(obj, k)
              if typ is int:
                  setattr(obj, k, int(v or default))
              elif typ is float:
                  setattr(obj, k, float(v or default))
              elif typ is bool:
                  setattr(obj, k, bool(int(v or default)))