[bindings] Drop some stale code from bindings generic generation