Remove length ensurance from this function.