If we're nitpicking, as this is v nice code, I would call it `oldDeviceType`. Sounds better :)