Added automatic field generation to connectors.