Remove unneeded type.