Added some NS client functionality.