A copy of this method exists below.