Move register to n.sW namespace.

Fix #19.