docs: def _filter_attributes(self, keyset):
          """
          Return a copy of this object with a subset of its attributes set.
          """
          filtered = self._filter_keys(self.to_dict(), keyset)
          return Language.make(**filtered)