Migrated the aes plugin to INIT/METHOD macros