Update forgotten shortening of the getLength method