add yaf and twig adapter