Remove unused bindings and functions