Defer aggregation calculation.

Closes #18.