Fixed #4580 -- Depreciated %profile.