more documentation, fixes in stream aggregation