Imported from googlecode.