Add template tags and functions for places and regions.