Added the legacy constructor with fields and field types to the local scheme.