Closes #41.