This if check is mostly redundant.