Adds slim template support