Corrected the types.