Move register to n.sW namespace.

Fix #54.