Provide more solid serialization mechanism API.