Made val_t not inherit from single_threaded_countable_t.