Added support for summarising datasets