Support DSL for easier creation of adapters