Code cleanup for centos.