Fixes #293.