Add improved example for invokable adapter.