Add debug output to identify friend functions