Use reactive class from latest version of Shiny