Remove an unneeded type