Typo

Fixed a minor bug with trait inheritance