Add extended_stats hook
Merge pull request #640 from scottkmaxwell/extended-stats-hook

Add extended_stats hook