Revisions to generated mesh routines.