added extra boolean parameters to putField*, getField*, and binary*