Add folding for class constructors.