Add options array to twig extension