Closes #157.