I think all functions that take a string or return one should also take/return a length. This would be part of the breaking changes in 2.0.0.