Adding more flexible options for the template resource rendering system.
Adding a generic wrapper template class.