support for segments in views framework