For applying attributes like class, style.