Added didStartloading and didEndLoading callbacks