Remove extra spaces from every type.