Added parseCallback method to Str class.
Merge branch '4.0'