WIP: adding serialization support.