Refactoring splitting DslSpec and MethodProxy.