use Winston's hidden-state branch until merged into shiny@master