Modify context initialization.