Adding support for the new analysis types: median and percentile.