Cleanup Netjack2 code.