Added support to surveyor.showLoading and surveyor.hideLoading