Removed ObjectDataOutput.writeData() and ObjectDataInput.readData().
Refactored ObjectDataOutput and ObjectDataInput.