Maps keys correctly.