Adding serialization implementations