Closes #39.