Javadoc and better size check during deserialization.