An attempt to make plugins work