Implemented C++11 move semantics for GenericDocument