repository: mark the "refs" pointer as private