Added Shiny functionality.