Remove useless functions

With the re-work of the data and getVariable functions
these other functions are no longer needed.
Access 'object' vars via data and nix ObjRef