plugins/funcs: add missing object references to functions