Fixes #50.