Ensure original datatype is retained.