Enable template with range

This fixes issues #98 & #99.