LPS-44895 Fix the build regression caused by increasing dependency on the Registry impl