Use refcounted pointers.