def remove_raw_object(cls):
    """
    Decorator for Record class.
    If a Record class is decorated, raw_object will be removed once all mark properties are cached.
    """
    cls._remove_raw_object = True
    return cls
