Closes issue #17.