Adapt to FormGenerator changes.