add slim templating support