Added: Von serialize and deserialize functions.