\begin{document} is conceptually part of the preamble