language changes: ToStr is gone, use fmt::Show instead.