Replaced old `Topology` template parameter based on template recursion with a `GeometryType::Id` parameter.