Add internal functions to fetch a refcount