Port of #196 (improvement on config DSLs) to V11 branch
Merge pull request #199 from kentaro/config-dsl-refactoring-v11

Port of #196 (improvement on config DSLs) to V11 branch