obj.test = function() { .. }
All non-existant method calls on all Agile Toolkit objects will be
tried against local table of registered methods and then against
global registered methods.
addGlobalmethod allows you to register a globally-recognized for all
agile toolkit object. PHP is not particularly fast about executing
methods like that, but this technique can be used for adding
backward-compatibility or debugging, etc.