Preface shiny input classes with `shiny`. Refine tests to use S3 dispatch.