Closes #47.