Small modification in adapter example.