Fixed #4580 -- Deprecated %profile.