Replaced a for loop with an enumerateObjects... call.