Casting parsed values to their proper types.