Adds clear method