PMC: created serialization API for easier access