hide most methods from swig