Use generic location_template param