I think the most restricted thing is to mark only a specific method of god as friend. (like I did it with the handle https://github.com/voxelinc/voxellancer/blob/master/src/worldobject/worldobjecthandle.h)