Add median/avg response time stats functions.