Add generic delete action. Closes #4