Added ForEach to the register behavior for open-ended behaviors