Fixes #275.