docs: def _on_constants_updated(self):
          """Method to run when constants are changed in any way.
  
          Propagates updated constants properly.
          """
          # update attrs
          self.attrs["constants"] = [a.identity.encode() for a in self._constants]