Migrated plugin_loader to INIT/METHOD macros