plugin.c seems to be poorly named..