Implement delay and endDelay for groups

We should make a bug for this.