Replaced State for Attribute in templates.