Fixes #147.