Add ability to ignore set attributes that are undefined