Added suport for .NET binary serialization