Bugfix.

Closes #50.