Generate final classes for syntax.
Regenerate and adapt manual hacks to parent.