Added the initialize_empty_stringsafe method