diff --git a/MiraAPI/Events/MiraEventWrapper.cs b/MiraAPI/Events/MiraEventWrapper.cs
index 67fe96d6..09cce83a 100644
--- a/MiraAPI/Events/MiraEventWrapper.cs
+++ b/MiraAPI/Events/MiraEventWrapper.cs
@@ -5,30 +5,23 @@ namespace MiraAPI.Events;
///
/// Wrapper for handlers.
///
-public class MiraEventWrapper
+/// The action for the event handler.
+/// The priority of the handler.
+/// The constructed event type.
+internal class MiraEventWrapper(Delegate eventHandler, int priority, Type type)
{
///
/// Gets the event handler delegate.
///
- public Delegate EventHandler { get; }
+ public Delegate EventHandler { get; } = eventHandler;
///
/// Gets the priority of the handler. Lower values are called first.
///
- public int Priority { get; }
-
- internal Type DefinedType { get; }
+ public int Priority { get; } = priority;
///
- /// Initializes a new instance of the class.
+ /// Gets the type used to construct the .
///
- /// The action for the event handler.
- /// The priority of the handler.
- /// The constructed event type.
- internal MiraEventWrapper(Delegate eventHandler, int priority, Type type)
- {
- EventHandler = eventHandler;
- Priority = priority;
- DefinedType = type;
- }
+ public Type DefinedType { get; } = type;
}