Correct the types.