Re-implement delete using abstracted libraries.

Closes #73.