Adds custom callback registry for connection and groupcache