Closes #301.