Wrap functions in script-local scope using <SID> prefix