Added analytic function templates