Replace “cc.object” with “cc.ref” for lua binding