Removed a debug statement in the walkReg method.