Optimizer.h: Improved friend and enemy functions