Migrated trap_manager_t to INIT/METHOD macros