Minor fixes to profile.