new ensure (loaded) method in plugin