Refactoring && adding some javadoc on the Var class.