Use pointers internally and refcount all objects.