Fixes #260.