Implemented path result object. Closes #339.