remove() {
        const callbacks = _this._eventCallbacks[eventType];
        const filteredCallbacks = callbacks.filter(
          (c) => c.toString() !== callback.toString()
        );
        _this._eventCallbacks[eventType] = filteredCallbacks;
      }
Adds a event listener for the specified event. The callback will be called when the
said event is dispatched.