Finished first pass on peregrine.