Adds a method to create new variable