Remove $ from ConnectionSpec as it messes with template expansion