api: allow string initialization
0.3.0