Fixes #178.