fixed #143 : dispatch of functions with same name
fixed #140: private class members could be used outside the class