CSHARP-797: Refactor element name checkers so RootElementNameChecker is not needed.