Remove the unneeded type validation.