In this case, I would prefer to have two different methods:
`notifyClassesLeft` and `notifyClassesEntered`,
because the code would be shorter and simpler.