Fix filename capitalisation and fix accessibility for Var class.