Added exclusion for input elements