Fixed up some java docs, changed a few things, and added some stuff for repair.