Move Iterables logic into profilemanager.