Modify DivObject to take dimension in args.