Remove error from the types.