Reintroduced explicit refcount