Add custom adapter.