Added string passing patch from Yauhen.