Functional; it should be nothing but functions, not documents, not styles, not semantics, not ecosystems of open standards. No one liked it, especially if they foresaw the complexity nightmare it would (and did) create. But we 'had' to learn it, so we'd have to hire for it, so we had to build in it.