Add a global scope to stdClass.