Added structure for setting attributes