get rid of `length` method.