Updated examples
Added clear method.