add Block::method and tests