Adds indicators for "loading", "empty" and "error" states.