Could not create Traits.Trait without new