Add support for nested do-blocks.