Slight optimization to profile fetching.