Implement delete. Closes #9