For cpp preparation.