Adds ProfileState to FrameworkState.