Laying ground for the stateful <-> stateless model conversion handling.
Updated the atd-generated files.
(Apparently there are no important changes, just some more parentheses are added by the new atdgen version.)