Rather than passing in the gear_size separately, shouldn't we just set cart.gear_size before calling add_cartridge, just like we do with env vars, and leave add_cartridge alone?