Renamed InjectAttribute to ResolveAttribute.