Add support for local modules as plugins.