Fix new by reference syntax