Fix to get headless actor tests running again.