Simplify the get_lattice method more.