Move Nx definition to a separate block.

Noticed by:	ru (a while ago)