Separated determining the fields from creating the form, to allow more specifc overrides.