Handle error cases in attribute handlers better.