Start of draft code to initialise evaluation contexts