Adding polling attribute.