Improved slim templates