Added class example to Twig extension docs