Migrated pubkey_cert to INIT/METHOD macros