Trigger database write on delete.
Merge remote-tracking branch 'upstream/master'