Added parseCallback method to Str class.