Segments API: Add version & compound for each segment
closes #2823