Fix Domain element accesses in the DSL.