Adds the getUserInfo and getRepoInfo functions.