Add class conversion.