Make sure refcount() is declared