Added method to collect custom properties by name