Added support for linking to results. Closes issue #8.