Also here, you shouldn't allow the user to change this, right?

Would it be simpler to make this not a singleton and pass the group class and the container as arguments to the constructor?