Encapsulate the idea of a variable assignment in a class.