Resolve historical phenotype globals independently of import order.
Definition at line 320 of file tools.py.