Remove unnecessary length check.