Add embed:function option to renderer, and allow arbitrary objects as outputs