Adding documentation comments in Cargo.java