Change methods to deal with String objects only. Save generic implementation for possible later version.