Quick fix to remove some obsolete imports from pymatgen.