Implement delete functionality

Closes #146. /cc @doolittle