Avoid some undefined variable notices