Fixes #173.
Merge pull request #175 from jpav/master

Fixes #173.