Yes they should be ok as long as they are symmetrical.  One exception I can think of is the sort.  At the moment I generate a compare function on the serialized data.  I assume it uses the disk format - if it changed there would need to be a corresponding change in my code.