Make it easier to inject alternative endpoint for testing purposes
Merge remote-tracking branch 'origin/master'