 
         handlers.append(handler)
 
-        return handler.id as UUID
+        return handler.id
     }
 
     /// Adds a handler that will be called on every event.

        self.options = options
        self.socketURL = socketURL
        
        if ((socketURL.absoluteString?.hasPrefix("https://")) != nil) {
            self.options.insertIgnore(.secure(true))
        }
        

        let handler = SocketEventHandler(event: event, id: UUID(), callback: callback)
        handlers.append(handler)

        return handler.id
    }

    /// Adds a single-use handler for an event.
