Added background loading support.