Add doc comment.
Add leaveNS(String, int) operation.
Add test case leaveNS.
Add new operations.