Updates for dojo Stateful and minimizing input