Added ability to nest blocks.