Change deprecated macro