Add abilito to specify a function as the stub data.