Added namespace alias when registering resource to repository