Extended MapKey to work with up to four strings as the key.