Add repo all_refs method