DRY up namespace creation

It looks like this will return the last path provided in the function arguments. Why not just reduce complexity and make the function only require one argument, like ``path`` ? That way you could get rid of the ``args`` loop.