CAMEL-7257: Added getRegistry(T) so its easier to get hold of the registrty unwrapped.