Add missing global object to fix broken reference assignment