Include sstream in TraitModel.h