public Object construct(WireContext wireContext) {
List<HistorySession> historySessions = (List<HistorySession>) WireContext.create(listDescriptor);
if (historySessions.size()==1) {
return historySessions.get(0);
}
return new HistorySessionChain(historySessions);
}