#854 Implemented References.tags() and References.heads()