Simplify RetrieveAttribute type so read succeeds (and it looks better)
Remove an annoying warning