Remove required-attribute for optional fields