Add missing var declarations