add.  API documentation.
fix. ref to AggregatorError.