Added virtual size_t encoded_length_internal() const to Serializable