Added string constructor

The string-based constructor now exists, but it unfortunately has some
compatibility issues. Potential rewrite