Added some useful methods to comment class