Fixes #157.