Common classes for the csa/xhprof-* libraries