Migrated thread_value_t to INIT/METHOD macros.