add BinaryUnmarshaler type assertion