add dialect support

Don't clobber the method name with a local variable, it's bad