Determine the property names to exclude beforehand.