Later loading for template functions.

@adampickering @spencerfinnell this ok with you? To make them pluggable