Add title attributes where appropriate