Refactor TypedAttrName<T> to remove delegate.