Migrated shared_key to INIT/METHOD macros