For this version I have again made some small corrections and added a few notes, but the document remains the same in substance.i My thanks must go first of all to my supervisor, Hugh Gibbons, for his unfailing patience and support. When Hugh took me on, my intention was to write a thesis on logic and computation, so he must have been somewhat dismayed to watch me then veer sharply into category theory. But he did not despair, and in fact this meant that I had to make my ideas and explanations intelligible to a sympathetic but lay audience, forcing me to think more deeply and expound more clearly than I might otherwise have done. I hope that shows. Hugh's help in navigating the College bureaucracy, and indeed all the usual travails of post-graduate life, has been likewise invaluable.If Hugh has been my mainstay, then Arthur Hughes has been my binnacle. The two have together supported and guided me through the whole process of planning and writing this thesis. Though his status as my co-supervisor remains unofficial, Arthur has more than earned that acknowledgement by his willingness to listen, suggest and advise, particularly when it comes to category theory. His good nature and solicitousness make him a pleasure to work with too. I should also thank the other members of the Foundations and Methods Group of the Computer Science Department for their help and advice, especially Matthew Hennessy.Even despite Arthur's mathematical company, though, I would not have come to understand category theory at anywhere near the level this thesis required without the n-Lab (ncatlab.org). Of course, I can't possibly thank by name everyone involved, but I do want to make clear just how much I owe to all of them. My understanding of category theory, and of mathematics in general, has been immeasurably deepened and broadened by the material on the Lab, as well as by discussions on the associated n-Forum. I must thank Mike Shulman and Todd Trimble in particular for the latter.Writing a doctoral thesis is never easy, and this one too had a difficult birth. But when things looked grim, the College support services were there to help. I really cannot overstate how much it has meant to me to have their professional, compassionate and effective support available, or how important these services are in general. It reflects very well indeed on College that they employ so many staff whose sole concern is the well-being of students, and long may this continue. I don't suppose it would be appropriate to mention the people I have in mind here by name, but if I say that they are C. G., C. R. and Dr. N. F., then they will know who they are, and know that they have my immense gratitude. The system works, and this thesis is the proof. Likewise, the College administrative staff, in my dealings with them, have never failed to be friendly, efficient, flexible and eager to help. In particular, Helen Thornbury of the Graduate Studies Office is a sparkling exemplar of administrative excellence, who has personally dug me out of several holes.In the end,...