Now that we no longer have separate class loaders for *.objects package, there is no need for separate ScriptFunction and ScriptFunctionImpl classes. Merging them into a single class (recommended: ScriptFunction) might give HotSpot some devirtualization opportunities.