fix bug introduced by latest commit: move namespace-view mapping to __init__.py.