Closes #52.