Merging base code.