Made cadhumidex function available to text templates.