Improving framework loading