Generate import bindings for finalizers