Add dedicated clear operation
Fix makefile
Docs updated