Migrated sql_plugin_t to INIT/METHOD macros