Created boilerplate of implementation of a generic function for generating dynamic [knitr] chunks with automatic cross-referencing of objects (figures/tables) within a document.