Handle empty attributes