Passed in template functions.