Created ProfileSection class to avoid wfProfileOut() whack-a-mole.

Change-Id: I9f7e0638edd99e1ac07b83054e8f7ef255179281