Adding serialization benchmark.