Added 'clear completed' and some documentation.