def body_method(name):
    """
    Wrapper to expose a method on a Block object's compressed_body
    """
    def wrapper(self, *args, **kwargs):
        if not hasattr(self, '_compressed_body'):
            self._compress_body()
        wrapped_method = getattr(self._compressed_body, name)
        return wrapped_method(*args, **kwargs)
    return wrapper