Support for a string as a parameter

Fixes issue #17