Updated for Shiny 0.3.1.99