Slight changes to how the http API works.