export fix for friend methods