Merge "Call toString instead of casting."