Load extensions correctly.