Pass in id of cdata object instead of the object itself