@classmethod
def cast_to_class(cls, document):
    """
        Cast given `document` to this Model
        """
    if not isinstance(document, dict):
        raise TypeError('Type of document should be subclass of dict.')
    obj = cls()
    obj.update(document)
    return obj
