Implement delay and endDelay for groups

Put back.