Imported from original repository.