Added getter method for segment entities.