Copied from old repo.