Immutable classes: add empty constructor for serialization.

Signed-off-by: mk124 <mk124a@gmail.com>
RaceCheckpoint: Avoid toString() infinite recursion.

Signed-off-by: mk124 <mk124a@gmail.com>