Fixes #29.