Modified docstrings of XBNWriter for proper documentation.