beforeEngineInit plugin callback