scripting API: suppress "Function is eval" warning