Adding `destroy` function - Fixes #1