@classmethod
def create(cls, name, site, data, meta):
    """
        Create a new Content instance.

        Will extract the content type from the meta, and create the
        appropriate sub-class.
        """
    content_type = meta.get('content_type', cls.__name__)
    try:
        klass = cls.__registry__[content_type]
    except KeyError:
        raise ValueError(
            f'You attempted to create a page with type "{content_type}" but no class is registered to handle this content type'
            )
    return klass(name, site, data=data, meta=meta)
