Demand-Driven Structural Change in Applied General Equilibrium Models