Rewrote HostLattice and OclLattice classes without template params