Fix for WP7 serialization
Windows Phone 7 fixes.