Make aggregations chainable. Fixes #30.