/// <summary>
 /// Unregisters the specific event
 /// </summary>
 /// <param name="pe">The event to unregister</param>
 public static void Unregister(OnCommandUnloaded pe)
 {
     pe.Unregister();
 }
 /// <summary>
 /// Used to register a method to be executed when the event is fired.
 /// </summary>
 /// <param name="callback">The method to call</param>
 /// <returns>A reference to the event</returns>
 public static OnCommandUnloaded Register(OnCall callback)
 {
     Logger.Log("OnCommandUnloaded registered to the method " + callback.Method.Name, LogType.Debug);
     OnCommandUnloaded pe = new OnCommandUnloaded(callback);
     _eventQueue.Add(pe);
     return pe;
 }