Fixes #158.