Preliminary support for streaming in Aggregate framerork. Added method `aggregateToStream`