Added handlers to DSL.