Pulling out the common knitr elements into its own document