Knitr hooks.