Added add_segment() method to TCG/SEG attributes