changes to BlockTemplateBuilder