Recording of nested documents added