improved how DSL methods are parsed