Replace _( macro and weak object defines