Initial legacy version.