Avoiding some errors on duplicate class names in 1.x