Fixes #47.