Fixes #23 make Serialize() methods const