Types of Traits and Inheritance