The Page class recently had isMainPage() and isFilePage() methods added to it. Previously one had to use getPageProperties().isMainPage() and getTitle().isFilePage(), which was obscure and hard to remember. One could replace instances of the latter two with the former two, now.
This would be a nice task for someone newer to the repository.