Fixes #197.