Fix inner-class friend operators.