Dsl and template