Removed the class Length and changed all uses of it to int.