Fixed `destroy()` bug.
Fixed `destroy()` bug and .gitignore filename typo.