You can immediately bind this function to `this`. Doing so will simplify both branches below.