Closes #40.