Move some utility classes into CommonUtils project.