Account for changes in github api.