Fixed exemples and output
Merge pull request #259 from Nyholm/traits

Fixed exemples and output