Add field type code getter