Closes issue #29.