Use dict access for variant attributes.