Add avf_template_builder_content function