Imported from SVN.