Closes issue #4.