Fixes #45.