Adding two more states to handle state copy and finalize operations.