Refactor main site generation calls into complexity().