Fixes #264.