Support parsing and inheritence of segment template strings