S_PROFILE can be removed, it won't be used anymore.