I think it uses seperate functions to parse the XML so Control won't be recognised as an object in the OnGetScriptMenu event handler code
EDIT: This is just me probably not knowing too much again, but I'm not sure the _ works as it does it VB and so on where it tells the script the rest of the code is on the next line