Better way to deal with profiles.