Script: Ignore deprecated API that uses State.