Added a number of group functions.