Renamed chars() to toArray().