Closing events integrated into streams.
Better and more powerful dsl for functions.