Fixes #290.