add beforeRemove function on Collection2 objects