Added namespace function