Safe method of require base plugin