Make sure plugin onLoad is really called onLoad. This fixes regression #822 from when we implemented plugin depends.