Added population of segments when retrieving applications.