Pass in default options for header and footer when wrapping template.

Closes #45.