Refactor DialectUtil.
Create interface to dialects.
Extract to base class dialect elements.