Added getFunctionInfo wrapper