Added support for multiple SQL dialects and other parameterizations