Added functionality for adding comments.