Initialize extensions after correct context is created.