Add Deref impl to Cfg to make it less painful