Fixes #22 and incremented version ready for new release.