Added documentation. Debuged addComment.