This paper describes a collection of procedures for the systematic computation of asymptotic expansions that are common in statistical theory and practice: expansion of functions of sums of independent and identically distributed random variables. The procedures permit the expansion of maximum likelihood estimates, the associated deviance or drop in likelihood and more general functions of random variables with distributions involving one or more parameters. The procedures are illustrated with examples involving general and specific laws.