Quality control on main code.