Implementation and representation classes for periodic graphs.