Enforce all callbacks to execute on the main thread.
Fix prefetching.