Added showing/hiding fields based on property type