Added new type DisposableEvent to express explicitly the fact that something should be disposed.