Added SetState Visitor