Added option to load 3rd party functions by demand.