Enforce passing string as version param in ctor

Fixes #393