Serial version fix

Some old code had been left in the serial branch of the code causing an
error on compile.