No, it's probably not the best way, but this is a stepping stone to the new widget system.  This incarnation of CesiumViewerWidget is not meant for app writing anyway, but you can still control the clock in a custom app.  Since I plan to immediately start working with @shunter on the new base widget, I expect this to change before the next release anyway.