Minor cleanup of code.
Merge branch 'master' of github.com:materialsproject/pymatgen-db