Update for new boot API
Use DOM allocation pool in loop-tpl; cleanup