Expose only the solve method.