Added clear method. Fixed Doxygen comments.