Fixed obsolete syntax: visibility-qualified trait implementation