Add traits attribute to TraitsView
Replaced traits attribute with a view attribute
Removed unnecessary import.
Merge pull request #1 from brett-patterson/master

Specify traits to TraitsView