Added eraser functionality.