onLoad support for renderer functions and compiled templates