The work was supported by the National Research Council for the Humanities as well as the University of Oslo. I would like to thank Lars Nygaard, Gunnar Thorvaldsen, William Hubbard, Lars Østby and Stein Sjølie as well as colleagues at the National Archives of Norway for their valuable comments and support.