Add support for slim templates