Emit events before and after save, update, and remove.