as far as i remember, there are functions defined in the engine code (i remember them being called legacy functions) that you can't package because when looking for the 'code', it finds the engine-defined one before the torquescript packages and whatnot, so it doesn't even attempt to allow for packages.
could be wrong on that, but i remember someone saying that in the past