Added set_state and set_state_ methods to Group (to make them easier to
track)