Migrate render method so it is includable in another of the plugins