Closes #51.