Odd place to have a inner class in the framework.  Igor, is this something you could see reusing?  If not then this dialect should conform to how the other ones are written (I think).