Remove definitions if we only have one type.