Added support for iterlists and iterlistvalues

Generalized decorator.