Added code for generating null, empty and whitespace strings.