Use the newClassLoader hook in JSSymbolLoaders.
Use the validClassFile() hook in JavaScriptContext.