docs: def get_block_type(self, def_id):
          """Get a block_type by its definition id."""
          try:
              return self._definitions[def_id]
          except KeyError:
              try:
                  return def_id.aside_type
              except AttributeError:
                  raise NoSuchDefinition(repr(def_id))