Work converting methods to use ToLength rather than toUint32