Make Twig and Plates renderers work

Update compatible with https://github.com/BabDev/renderer/pull/4