Add method calls in bindings, add renaming in bindings. Fix some bugs