Closes #48.