Implements listRooms.