Fixes #146.