Partial dsl implementation.