backport config dsl from v11