Adding remove.pre event

I would kindly ask if you can accept this PR so so we can delete any related entities before removing $entity.