Option to add a class to a input

When we need to add a class, we override existing classes.
With this modification we can just add more classes without overwriting existing ones.