DAR-264: move getNamespace back down to where it's needed.