Move some replay globals to class variables.