improve dui/Stateful doc