Merging of the entire pre5 branch.