Pillbox and tree attribute revision

Allow `attr` object to be stored in suggestions dropdown.