Add ability to start, stop and hide loading spinner.