Better way to deal with publishing profiles.