allow registration of arbitrary template languages