Remove some references to ns in commands.py.