Automatically create variables based on assignments.