Added ability to save field type