Replaced use of generators with use of `Dialect`, eliminating a package dependency.