Adding backwards-compatibility by re-implementing the set_dialect class method, with deprecation warning.