Fix trait methods visibility.

A trait cannot have abstract private method even though the class could implement it as a private method.