Auto delete

Fixes #12