Adding n-net functionality.