Switched namespace pattern