Can this just be `for key in kwargs:`?  Or is there some special compatibility check here that I'm unaware of?