Separate nullstr and nullunicode functions.