Replaced getKey() with get() calls.