Created traits for Pivot Tables
Fixes minor mistakes