         }
     }
     
-    func invokeMethodWithSelector(selector: Selector, params: AnyObject?) -> Bool {
+    func invokeMethodOnDelegateWithParams(params: AnyObject?) -> Bool {
         guard let delegate = delegate else {
             return false
         }

        return true
    }
    
    func invokeMethodForResponseWithSelector(selector: Selector, params: AnyObject?) -> Dictionary<String, AnyObject>? {
        var response: AnyObject?
        mainQueue {
            response = self.delegate?.insider(self, invokeMethodForResponseWithParams: params)

        // Invoke method on delegate
        server.addHandlerForMethod(.POST, path: Endpoints.invokeEndpoint) { (requestParams) -> (LocalWebServerResponse) in
            
            let didProcessParams = self.invokeMethodOnDelegateWithParams(requestParams)
            return LocalWebServerResponse(statusCode: (didProcessParams) ? .Success : .NotFound)
        }
        
        // Invoke method on delegate and wait for return value
        server.addHandlerForMethod(.POST, path: Endpoints.invokeWithResponse) { (requestParams) -> (LocalWebServerResponse) in
            
            let response = self.invokeMethodOnDelegateWithParamsForResponse(requestParams)
            return (response == nil) ? LocalWebServerResponse(statusCode: .NotFound) : LocalWebServerResponse(response: response)
        }
        
