Add support for globals in unpickled Overloaded objects