Is there definitely not a way to do this without introducing an extra instance variable? It's not a big deal, but extra instance variables always feel like something to be avoided where possible.