Generalize the plugin mechanism with a Plugin module that knows when it's included.