"The Way of the Dog" is the twenty-second and final episode of Season 31. It was originally not supposed to be the finale of that season, but due to the COVID-19 pandemic, pushing multiple episodes from this season to the next, it ended up becoming the season finale.