Make string more generic