Upgraded dependencies.
Document specified as function will receive a map of aggregated property values. Fixes #49.