Improved documentation and additional assertions around correct DSL nesting.