Add refcount to rcl objects.