Deleted useless casts