Add support for aggregate config.
Merge pull request #221 from icebourg/master

Add support for aggregate config.