Merge "Add getDirectProfilesForAttributes"