Use Twig instead of .phtml files.