added ability to provide externally defined dialects