Closes #169.