Add knitr:: to function calls
Simplify call to parseSpec