Remove unused functions from wrappers

The getChildren and derefernce functions are never callled. Also the member
self.variable was renamed some time ago and would have led to crashes but
because it was never called we did not notice.