Allow class to instances via a DSL