diff --git a/meshmode/mesh/__init__.py b/meshmode/mesh/__init__.py
index 81ec7ae2a4a060e26d68823603a0d1648d2ce391..3f02e7f7162245cdc9b3911aa0a5ae0c91da987e 100644
--- a/meshmode/mesh/__init__.py
+++ b/meshmode/mesh/__init__.py
@@ -95,6 +95,8 @@ SYSTEM_TAGS = set([BTAG_NONE, BTAG_ALL, BTAG_REALLY_ALL, BTAG_NO_BOUNDARY])
 
 # {{{ element group
 
+# {{{ base class
+
 class MeshElementGroup(Record):
     """A group of elements sharing a common reference element.
 
@@ -221,6 +223,10 @@ class MeshElementGroup(Record):
     def __ne__(self, other):
         return not self.__eq__(other)
 
+# }}}
+
+
+# {{{ simplex
 
 class SimplexElementGroup(MeshElementGroup):
     def __init__(self, order, vertex_indices, nodes,
@@ -292,6 +298,10 @@ class SimplexElementGroup(MeshElementGroup):
         from modepy.tools import unit_vertices
         return unit_vertices(self.dim)
 
+# }}}
+
+
+# {{{ tensor-product
 
 class TensorProductElementGroup(MeshElementGroup):
     def __init__(self, order, vertex_indices, nodes,
@@ -330,6 +340,8 @@ class TensorProductElementGroup(MeshElementGroup):
 
 # }}}
 
+# }}}
+
 
 # {{{ nodal adjacency