Add isRequired information to properties.