I think it's fair to allow `$this` to be allowed in traits since the trait has access to the rest of the class to which it is included.