@classmethod
def from_dict(cls, d):
    """Create class entirely from dictonary.
        """
    atoms = d.pop('_atoms')
    lattice = d.pop('_lattice')
    density = d.pop('_density')
    file_info = d.pop('_file_info')
    cls(density, lattice, atoms, file_info, **d)
