This closes #54.