Allows root endpoint to be set.
Merge remote-tracking branch 'origin/bug/allow-root-endpoint'