         }
     }
 
-    public var subscriptions = Set<Subscription<T -> Void>>()
+    public var subscriptions = Set<Subscription<HandlerType>>()
 
 
     // MARK: - Initialization

import Foundation

public class Observable<T> {

    // MARK: - Properties


        return subscription
    }

    public func unsubscribe(subscriber: Subscription<HandlerType>) {
        subscriptions.remove(subscriber)
    }

