We should update the documentation of ``switch_state`` to note that translation happens immediately after state setup, which happens immediately after state creation.