Removes duplicate types/constants