Added a way to pick field type.