Implement `clear` method
Fix typo