Add loading events