Added 'median' rel.group aggregator.