add suport for slim templates in consumer