Thesis: `Operads in higher-dimensional category theory'