put unload/reload plugin into class