Fixes #269.