Removed old serialization logic (<= 1.0-RC1) in readFrom and writeTo methods.