Fix wrapper registration.