Scope private functions to script.