Contracts and groups