Adding additional functionality to block_segment and traversal.