Adds repository reference.