Added callback: called after all resources are loaded.