Adding new class in validation elements.