Actually depends on atdgen, not just atd.