DSL can now take Objects as well as Functions.