Adding some attribute diagnostics.