Added the GetSolution method.