Possible fix for Issue #6

Published to NPM as 1.1.0-beta1