Move parameters logic from CreateContext to CreatingContext