function resetClassVariables() {
    CastSender.hasReceivers_ = false;
    CastSender.session_ = null;
  }
@suppress {visibility}
"suppress visibility" has function scope, so this is a mini-function that
exists solely to suppress visibility rules for these actions.