Fix deprecated variable access warnings in conf