Added session to legacy calls