fix #2: stop passing traits objects around: use parametric types
Merge pull request #3 from johnmq/bug/2/stop-passing-traits-objects-around

fix #2: stop passing traits objects around: use parametric types