working of preparing type-specific handlers for stats_reply