Closes issue #2.