ExtendedSession, with the listNames() method was introduced in 2.1.1 (INT-2492) to support mget commands on the gateway. This was to avoid breaking any user implementations of Session in a point release. However, we documented this was temporary and the interfaces would be consolidated in 2.2., and ExtendedSession would be removed. This is that consolidation.