Clarified that `when` is a class method.