Add comment.
Fix JavaDocs.
Fix (very old!) XML escape bug.