This is a question about the how this function gets called (from shiny.r, line 159): is there a reason that this function is called with the `shinysession` refclass object, instead of the `session` object, which exports specific objects? Was it only because the `session` object was added later? At any rate, it seems cleaner to call with the `session` object (and store `singletons` in there as well).