initialize_document -> initialize_template.