Replaced char type with string type.