Don't use the global adapter registry.
Fix example.