Move template to scaml.