Don't set empty values for class and ids