Wrote an interface for block.