Minor edits to spacing and debug usage.
Update extend namespace variable name.