Re-working making typed attributes.