Remove `die` statement, add nonces.