Save variables added in doc part