Changed Group to inherit from Agent.