The namespace was plumbed all the way through the API but isn't actually set on the client when it is created. Fixes #1597