code: public void registerEvents(Common commonInterface, Listener listener) {
          if (commonInterface != null && listener != null) {
              internalRegisterEvents(listener);
          }
      }
docs: TODO: Do something with the plugin var.