Add more CT utility routines to be used as part of larger patch.