Fixed performance of the pars function.