A few optimizations to the GithubSource class