Allow type cast any object not only String (with type cast method)