Allow twig extension to be disabled