At least since 2015, they've just been replacing the casings. They word it as such that it sounds like you're getting a new fob, but that's not the case (pun intended ).For the early key fobs, they appeared to do complete replacements.
Perhaps things have changed with the later versions - and hopefully the design has been improved to prevent opening the sunroof on the key fobs...
The sunroof has never been controlled by the key fob.
The windows down feature of the fob was disabled in V6... 4 years ago.