Added instrument_reset.
Added framework for queue_buckets.