Removing attributes from traps.