Fix constructor of PrivateContext struct.