Add a module for plugin writers, scrapping some boilerplate